//
//  UIViewController+ZKViewControllerTransition.h
//  朱凯的工具箱
//
//  Created by pro on 17/5/12.
//  Copyright © 2017年 zhukai. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "KZTransitionAnimator.h"



@interface UIViewController (transition)

// 跳转方法
- (void)kz_presentViewController:(UIViewController *)vc
                        animator:(KZTransitionAnimator *)animator
                 backInteractive:(bool)backInteractive;

// 注册present手势
- (void)kz_registerToInteractive:(dispatch_block_t)operationBlock
                   gestureConfig:(void(^)(KZGestureConfigFetch fetch))gestureConfig;

// 注册dismiss手势
- (void)kz_registerBackInteractive:(dispatch_block_t)operationBlock
                     gestureConfig:(void(^)(KZGestureConfigFetch fetch))gestureConfig;


@end
